import { BasePageQo } from '@/base/api/BaseQo'

export type SysTaskListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  name: string
  taskClass: string
  extraArg?: string
  cycleType: number
  executeState: number
  cron?: string
  specifyTime?: string
  intervalTime?: number
  firstTime?: string
  firstDelayTime?: number
  enable: boolean
  lastStartTime?: string
  lastEndTime?: string
  executeTimes?: number
  platformType: string
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysTaskDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  name: string
  taskClass: string
  extraArg?: string
  cycleType: string
  executeState: number
  cron?: string
  specifyTime?: string
  intervalTime?: number
  firstTime?: string
  firstDelayTime?: number
  enable: boolean
  lastStartTime?: string
  lastEndTime?: string
  executeTimes?: number
  platformType: string
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysTaskSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  name?: string
  taskClass?: string
  extraArg?: string
  cycleType?: number
  executeState?: number
  cron?: string
  specifyTime?: string
  intervalTime?: number
  firstTime?: string
  firstDelayTime?: number
  enable?: boolean
  lastStartTime?: string
  lastEndTime?: string
  executeTimes?: number
  platformType?: string
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysTaskEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  name?: string
  taskClass?: string
  extraArg?: string
  cycleType?: number
  executeState?: number
  cron?: string
  specifyTime?: string
  intervalTime?: number
  firstTime?: string
  firstDelayTime?: number
  enable?: boolean
  lastStartTime?: string
  lastEndTime?: string
  executeTimes?: number
  platformType?: string
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- editQo -) End ]]
}
